package com.zelma.consumer.dao;

import com.zelma.consumer.entity.RentbuyEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 
 * 
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-06 17:00:48
 */
@Mapper
public interface RentbuyDao extends BaseMapper<RentbuyEntity> {

    @Select("select rentbuy_aid from user_rentbuy GROUP By rentbuy_aid")
    List<Integer> getByAid();
}
